#include <stdio.h>
double myPOW(int x, int n);
double myPOW(int x, int n)
{	    		    
    double p;
    for (p = 1; n > 0; --n) //2
        p *= x; //2
    return p;//1
}	    		    
int main()
{	    		    
    int x, n;
    printf("Enter x and n\n");
    scanf("%d%d", &x, &n); //1
    printf("mypow(%d,%d) = %.2f\n", x, n, myPOW(x, n)); //1
    return 0;
}	    	